'use strict';

function get_integer_interval(number_a, number_b) {
  //在这里写入代码
  if(number_a>number_b){
    var c=[];
    var d=number_a;
    
    for(var i =0; i<number_a; i++){
      c[i]=d--;
      
    }
    return c;
  }else if (number_a<number_b){
    var c=[];
    for(var i =0; i<number_b; i++){
      c[i]=number_a++;
      
    }
    return c;
  }else if(number_a == number_b){
    var c=[number_b];
    return c;
  }
}

module.exports = get_integer_interval;

